package com.work.game.utils;

public class StringSplit {
    public static String splitOrNull(String value,String chart ,int index){
        String[] split = value.split(chart);
        if(split.length>index){
            return split[index];
        }else{
            return "";
        }
    }
}
